package com.wn.ticket.service;

import com.wn.ticket.common.PageBean;
import com.wn.ticket.entity.Perform;

import java.util.List;

/**
 * @author wuqingting
 * @date 2022/8/29
 */
public interface PerformService {
    void add(Perform perform);
    void update(Perform perform);
    List<Perform> getAll();
    Perform getById(int id);

    List<Perform> getOrderByPrice(Perform perform, String order);
    //List<Perform> getPageByCondition(Perform perform,int startPage,int pageSize);
    List<Perform> getByHot();
    Perform getId(int id);
    List<Perform> getByCity(String name);
    List<Perform> getByProfile(String profile);
    List<Perform> getByArName(String arname);
    PageBean<Perform> getPageByCondition(Perform perform, int startPage, int pageSize);
}
